<template>
  <div class="breadcrumb">
    <slot></slot>
  </div>
</template>

<script>
export default {
  name: "mu-breadcrumb",
};
</script>

<style lang="scss" scoped>
@import "../variable.scss";

.breadcrumb {
  font-size: 12px;
  padding-bottom: 20px;

  span {
    color: #606266;

    &:first-child {
      font-weight: bold;
      color: #303133;
      cursor: pointer;

      &:hover {
        color: $blue;
      }
    }

    &:not(:first-child)::before {
      content: "\e62f";
      color: #c0c4cc;
      padding: 0 7px;
    }
  }
}
</style>